package com.liuliu.zua.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.liuliu.common.annotation.Excel;
import com.liuliu.common.core.domain.BaseEntity;

/**
 * 成绩对象 zua_grade_student
 * 
 * @author ruoyi
 * @date 2021-03-22
 */
public class ZuaGradeStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 成绩id */
    private Long gradeId;

    /** 学生id */
    @Excel(name = "学生id")
    private String studentId;

    /** 课程id */
    @Excel(name = "课程id")
    private String courseId;

    /** 成绩 */
    @Excel(name = "成绩")
    private String resultGrade;

    /** 补考成绩 */
    @Excel(name = "补考成绩")
    private String lastResultGrade;

    public void setGradeId(Long gradeId) 
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId() 
    {
        return gradeId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public void setResultGrade(String resultGrade)
    {
        this.resultGrade = resultGrade;
    }

    public String getResultGrade() 
    {
        return resultGrade;
    }
    public void setLastResultGrade(String lastResultGrade) 
    {
        this.lastResultGrade = lastResultGrade;
    }

    public String getLastResultGrade() 
    {
        return lastResultGrade;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gradeId", getGradeId())
            .append("studentId", getStudentId())
            .append("courseId", getCourseId())
            .append("resultGrade", getResultGrade())
            .append("lastResultGrade", getLastResultGrade())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
